home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1997 January: Mac OS SDK / Dev.CD Jan 97 SDK2.toast / Development Kits (Disc 2) / OpenDoc Development Framework / ODF-Interest Archive / June 96 / Re Tracker Coordinates.1 < prev    next >
Encoding:
Internet Message Format  |  1996-12-03  |  1.3 KB  |  [TEXT/ttxt]

  1. Subject:     Re: Tracker Coordinates
  2. Sent:        6/6/96 12:26 PM
  3. Received:    6/6/96 12:31 PM
  4. From:        Henri Lamiraux, lamiraux@apple.com
  5. Reply-To:    ODF Interest, ODF-Interest@CILabs.ORG
  6. To:          OpenDoc Development Framework Discussion List, ODF-Interest@CILabs.
  7.  
  8. >Well then perhaps my problem has to do with the difference between view
  9. >coordinates and view _content_ coordinates.
  10. >
  11. >My situation is that I have a content view whose coordinates are the same as
  12. >the frame. I have a subview of the content view located at (say) (20, 200,
  13. >200, 220) in view content coordinates. I click the mouse near the left top of
  14. >this subview. What I observe in the debugger is that in BeginTracking,
  15. >anchorPoint is about (25, 205) but that the currentPoint passed in to
  16. >ContinueTracking is (5, 5).
  17. >
  18. >When I trace theGC.DeviceToLogical(..) it _does_ seem to convert to _view_
  19. >coordinates as opposed to view _content_ coordinates.
  20. >
  21. >Am I confused, or what?
  22. >
  23. >Thanks,
  24. >Bill Finzer
  25.  
  26. I'll try that and keep you posted.
  27.  
  28. Thanks
  29.  
  30. ........................................................................
  31.  Henri Lamiraux                                      lamiraux@apple.com
  32.  Apple Computer, Inc.                 OpenDoc(tm) Development Framework
  33. ........................................................................
  34.  
  35.